home *** CD-ROM | disk | FTP | other *** search
- Path: news.bellglobal.com!stupy
- From: stupy@freenet.durham.org (Steve Tupy)
- Newsgroups: comp.lang.c
- Subject: Re: Wanted: routine to compare file time
- Date: 30 Jan 1996 20:49:27 GMT
- Organization: Durham Free-Net
- Message-ID: <4em08n$ood@news.bellglobal.com>
- References: <4ei18a$4pr@srvr1.engin.umich.edu>
- NNTP-Posting-Host: 204.101.165.17
- X-Newsreader: TIN [version 1.2 PL2]
-
- Eric L. Palmer (elpalmer@kecomp.coldwater.mi.us) wrote:
- : I would like a C routine to compare the time a file was last accessed
- : to the current time, to check, for example, if a file is more than X
- : time_units old. I don't have any problems getting the current time,
- : but I can't seem to properly get the file time with stat().
-
- This is very compiler dependant, so maybe if you could tell us which
- compiler you are using?
-
- Take care!
-
- --
- Steve
-